import request from '@/utils/request'

export  function getSupplierList(size,current,data) {
  return  request({
    // /purchase/supplier/list?size=5&current=1
    url: '/purchase/supplier/list?size='+size+'&current='+current,
    method: 'post',
    data,
  })
}

export  function getList(size,current,data) {
  return  request({
    // /purchase/supplier/list?size=5&current=1
    url: '/purchase/supplier/list?size='+size+'&current='+current,
    method: 'post',
    data,
  })
}

//平哥
export  function getListTwo(size,current,data) {
  return  request({
    // /purchase/supplier/list?size=5&current=1
    url: '/purchase/purchaser/querypurchaser',
    method: 'get',
    data,
  })
}